<%-- 
    Document   : pickerform
    Created on : 25.11.2012, 19:39:01
    Author     : Lukas Marica
--%>

<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<s:useActionBean beanclass="cz.muni.fi.pa165.web.SecurityActionBean" var="securityBean"/>
<s:errors/>
<table>
	<tr>
                <th><s:label for="p5" name="picker.login"/></th>
                <th><s:text  id="p5" name="picker.login"/></th>
	</tr>
	<tr>
                <th><s:label for="p1" name="picker.name"/></th>
                <td><s:text id="p1" name="picker.name"/></td>
	</tr>
	<tr>
                <th><s:label for="p2" name="picker.surname"/></th>
                <td><s:text id="p2" name="picker.surname"/>
	</tr>
	<tr>
                <th><s:label for="p3" name="picker.info"/></th>
                <td><s:text id="p3" name="picker.info"/>
	</tr>
	<c:if test="${securityBean.isAdminLoggedIn}">
	<tr>
                <th><s:label for="p4" name="picker.isAdmin"/></th>
                <th><s:checkbox  id="p4" name="picker.isAdmin"/></th>
	</tr>
	</c:if>
	<tr>
                <th><s:label for="p5" name="picker.pass"/></th>
                <th><s:password  id="p5" name="picker.pass"/></th>
	</tr>
</table>